/*
 * File:   USB_Handler.h
 * Author: Twistx77
 *
 * Created on 21 de junio de 2012, 18:14
 */

#ifndef USB_Handler_H
#define USB_Handler_H

#include "PowerRGBLEDController.h"

#define PACKET_START 0x7E
#define HI_CMD 0x01
#define SET_OUTPUTS_CMD 0x02
#define SET_PRESET_CMD 0x03
#define SET_IR_CMD 0x04
#define STORED_IR_CMD 0x05



void initializeUSB(void);

void sendIRCodes (void);
void recieveUSBPacket(char *_USB_In_Buffer, uint8_t length);
void receivedUSBPacketHandler(void);

#endif
